package cn.hui.model;

import java.sql.Timestamp;

/**
 * Table model
 * @author yang
 *
 */
public class Table {
	private String tableCatalog;
	private String tableSchema;
	private String tableName;
	private String tableType;
	private String engine;
	private Long version;
	private String rowFormat;
	private Long tableRows;
	private Long avgRowLength;
	private Long dataLength;
	private Long maxDataLength;
	private Long indexLength;
	private Long dataFree;
	private Long autoIncrement;
	private Timestamp createTime;
	private Timestamp updateTime;
	private Timestamp checkTime;
	private String tableCollation;
	private Long checkSum;
	private String createOptions;
	private String tableComment;
	
	
	/**
	 * @return the tableCatalog
	 */
	public String getTableCatalog() {
		return tableCatalog;
	}
	/**
	 * @param tableCatalog the tableCatalog to set
	 */
	public void setTableCatalog(String tableCatalog) {
		this.tableCatalog = tableCatalog;
	}
	/**
	 * @return the tableSchema
	 */
	public String getTableSchema() {
		return tableSchema;
	}
	/**
	 * @param tableSchema the tableSchema to set
	 */
	public void setTableSchema(String tableSchema) {
		this.tableSchema = tableSchema;
	}
	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}
	/**
	 * @param tableName the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	/**
	 * @return the tableType
	 */
	public String getTableType() {
		return tableType;
	}
	/**
	 * @param tableType the tableType to set
	 */
	public void setTableType(String tableType) {
		this.tableType = tableType;
	}
	/**
	 * @return the engine
	 */
	public String getEngine() {
		return engine;
	}
	/**
	 * @param engine the engine to set
	 */
	public void setEngine(String engine) {
		this.engine = engine;
	}
	/**
	 * @return the version
	 */
	public Long getVersion() {
		return version;
	}
	/**
	 * @param version the version to set
	 */
	public void setVersion(Long version) {
		this.version = version;
	}
	/**
	 * @return the rowFormat
	 */
	public String getRowFormat() {
		return rowFormat;
	}
	/**
	 * @param rowFormat the rowFormat to set
	 */
	public void setRowFormat(String rowFormat) {
		this.rowFormat = rowFormat;
	}
	/**
	 * @return the tableRows
	 */
	public Long getTableRows() {
		return tableRows;
	}
	/**
	 * @param tableRows the tableRows to set
	 */
	public void setTableRows(Long tableRows) {
		this.tableRows = tableRows;
	}
	/**
	 * @return the avgRowLength
	 */
	public Long getAvgRowLength() {
		return avgRowLength;
	}
	/**
	 * @param avgRowLength the avgRowLength to set
	 */
	public void setAvgRowLength(Long avgRowLength) {
		this.avgRowLength = avgRowLength;
	}
	/**
	 * @return the dataLength
	 */
	public Long getDataLength() {
		return dataLength;
	}
	/**
	 * @param dataLength the dataLength to set
	 */
	public void setDataLength(Long dataLength) {
		this.dataLength = dataLength;
	}
	/**
	 * @return the maxDataLength
	 */
	public Long getMaxDataLength() {
		return maxDataLength;
	}
	/**
	 * @param maxDataLength the maxDataLength to set
	 */
	public void setMaxDataLength(Long maxDataLength) {
		this.maxDataLength = maxDataLength;
	}
	/**
	 * @return the indexLength
	 */
	public Long getIndexLength() {
		return indexLength;
	}
	/**
	 * @param indexLength the indexLength to set
	 */
	public void setIndexLength(Long indexLength) {
		this.indexLength = indexLength;
	}
	/**
	 * @return the dataFree
	 */
	public Long getDataFree() {
		return dataFree;
	}
	/**
	 * @param dataFree the dataFree to set
	 */
	public void setDataFree(Long dataFree) {
		this.dataFree = dataFree;
	}
	/**
	 * @return the autoIncrement
	 */
	public Long getAutoIncrement() {
		return autoIncrement;
	}
	/**
	 * @param autoIncrement the autoIncrement to set
	 */
	public void setAutoIncrement(Long autoIncrement) {
		this.autoIncrement = autoIncrement;
	}
	/**
	 * @return the createTime
	 */
	public Timestamp getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the updateTime
	 */
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * @return the checkTime
	 */
	public Timestamp getCheckTime() {
		return checkTime;
	}
	/**
	 * @param checkTime the checkTime to set
	 */
	public void setCheckTime(Timestamp checkTime) {
		this.checkTime = checkTime;
	}
	/**
	 * @return the tableCollation
	 */
	public String getTableCollation() {
		return tableCollation;
	}
	/**
	 * @param tableCollation the tableCollation to set
	 */
	public void setTableCollation(String tableCollation) {
		this.tableCollation = tableCollation;
	}
	/**
	 * @return the checkSum
	 */
	public Long getCheckSum() {
		return checkSum;
	}
	/**
	 * @param checkSum the checkSum to set
	 */
	public void setCheckSum(Long checkSum) {
		this.checkSum = checkSum;
	}
	/**
	 * @return the createOptions
	 */
	public String getCreateOptions() {
		return createOptions;
	}
	/**
	 * @param createOptions the createOptions to set
	 */
	public void setCreateOptions(String createOptions) {
		this.createOptions = createOptions;
	}
	/**
	 * @return the tableComment
	 */
	public String getTableComment() {
		return tableComment;
	}
	/**
	 * @param tableComment the tableComment to set
	 */
	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}
	
	
	public String toString(){
		return this.tableName;
	}
}
